package py.patch.util;

import java.util.Iterator;
import java.util.Map;

import org.apache.log4j.Logger;

public class PrintUtil {
	public static Logger logger = Logger.getLogger(PrintUtil.class);
	
	public static void printMap(Map<String, Object> map) {
		if (map != null && map.size() > 0) {
			for (Iterator iterator = map.keySet().iterator(); iterator
					.hasNext();) {
				String key = (String) iterator.next();

				logger.debug("key:"+key+"    value:"+map.get(key).toString());
				
			}
		}
	}
}
